package com.spring.service.blog;

import java.util.List;

import com.spring.web.formbean.blog.BlogCommentForm;
import com.spring.bean.blog.BlogComment;
import com.spring.bean.page.Page;
import com.spring.bean.page.PageView;
import com.spring.exception.ServiceException;

public interface BlogCommentService {

	public boolean insert(BlogCommentForm blogCommentForm) throws ServiceException;

	public boolean update(BlogCommentForm blogCommentForm) throws ServiceException;

	public boolean delete(Integer id) throws ServiceException;

	public BlogComment getById(Integer id) throws ServiceException;

	public List<BlogComment> queryForList() throws ServiceException;

	public PageView<BlogComment> queryForPage(Page page) throws ServiceException;
}